let base = 'https://admin.zgranqi.com/';
let wsUrl = 'wss://admin.zgranqi.com:1010';
if(process.env.NODE_ENV === 'development') {
	base = '';
	wsUrl = 'wss://admin.zgranqi.com:1010';
}

export default {
	wsUrl: wsUrl,
	baseUrl: base,
    // 登录
    login: base + 'index/User/login',
    // 注册
    register: base + 'index/User/register',
    // 发送邮件验证码
    sendMail: base + 'index/User/sendMail',
    // 忘记密码
    forgotPwd: base + 'index/User/forgotPwd',
    // 验证用户是否需要重新登录
    isLogin: base + 'index/User/isLogin',
    // 公告列表
    getNotify: base + 'index/Api/getNotify',
    // 获取帮助中心列表
    getHelpList: base + 'index/Api/getHelpList',
    // 获取帮助中心详情
    getHelpDetail: base + 'index/Api/getHelpDetail',
    // 获取首页滚动图列表
    getSlideList: base + 'index/Api/getSlideList',
    // 获取滚动图详情
    getSlideDetail: base + 'index/Api/getSlideDetail',
    // 添加银行卡
    addBank: base + 'index/Api/addBank',
    // 获取银行卡列表
    getBankList: base + 'index/Api/getBankList',
    // 改变银行卡可用状态
    setBankStatus: base + 'index/Api/setBankStatus',
    // 获取当前用户信息
    getUserInfo: base + 'index/User/getUserInfo',
    // 实名认证
    authentication: base + 'index/Api/authentication',
    // 退出登录
    loginOut: base + 'index/Api/loginOut',
    // 设置提现密码
    setPayPwd: base + 'index/Api/setPayPwd',
    // 设置昵称
    setNickName: base + 'index/Api/setNickName',
    // 修改登录密码
    changePwd: base + 'index/User/changePwd',
    //获取钱包地址
    getWalletAddr: base + 'index/Api/getWalletAddr',
	
	//删除钱包地址
	delWalletAddr: base + 'index/Api/delWalletAddr',
	
    //添加钱包地址
    addWallet: base + 'index/Api/addWallet',
    //获取edituserImg钱包币种ing列表
    getWalletList: base + 'index/Api/getWalletList',
    //上传图片
    uploadImg: base + 'index/Api/uploadImg',
    //行情开盘价格以及要显示的币种
    getMarket: base + 'index/Api/getMarket',
    getMarkets: base + 'index/Api/getMarkets',
    one_market: base + 'index/Api/one_market',
    //修改头像
    edituserImg: base + 'index/User/edituserImg',
    //账变记录
    getUserAccountList: base + 'index/Api/getUserAccountList',
    //资产账户余额
    bankWithdrawal: base + 'index/Api/bankWithdrawal',
    //币币账户列表
    bibilist: base + 'mobile/Order/getUserBibiMoney',
    //资产账户列表
    getAssets: base + 'index/Api/getAssets',
    //获取充币地址
    getPayment: base + 'index/Api/getPayment',
    //充值
    recharge: base + 'index/Api/recharge',
    //提现手续费
    getWithdrawalFee: base + 'index/Api/getWithdrawalFee',
    //虚拟币提现
    withdrawal: base + 'index/Api/withdrawal',
    //闪兑价格
    getExchangeData: base + 'index/Api/getExchangeData',
    //闪兑
    exchange: base + 'index/Api/exchange',
    //急速持仓订单列表
    getUserSpeedOrderList: base + 'mobile/Order/getUserSpeedOrderList',
    //合约订单列表
    getUserContractOrderLis: base + 'mobile/Order/getUserContractOrderList',
    //修改用户头像
    edituserImg: base + 'index/User/edituserImg',
    //添加自选
    likeCoin: base + 'index/Api/likeCoin',
    //删除自选
    removeLike: base + 'index/Api/removeLike',
    //获取我的自选列表
    getLikeCoin: base + 'index/Api/getLikeCoin',
    //获取极速订单持仓时间
    getSpeedOrderHoldTime: base + 'mobile/Order/getSpeedOrderHoldTime',
    //新增极速订单
    addSpeedOrder: base + 'mobile/Order/addSpeedOrder',
    //获取我的账户余额
    getWalletList: base + 'index/Api/getWalletList',
    //获取币种交易手续费
    getCoinTransactionFee: base + 'mobile/Order/getCoinTransactionFee',
    //搜索产品
    searchCoin: base + 'index/Api/searchCoin',
    //新增买入币币订单
    addBibiOrder: base + 'mobile/Order/addBibiOrder',
    //新增买入币币挂单订单
    addAutoBibiOrder: base + 'mobile/Order/addAutoBibiOrder',
    //新增卖出币币订单
    endBibiOrder: base + 'mobile/Order/endBibiOrder',
    //获取客服
    getService: base + 'index/Api/getService',
    //新增合约订单
    addContractOrder: base + 'mobile/Order/addContractOrder',
    //新增合约挂单订单
    addAutoContractOrder: base + 'mobile/Order/addAutoContractOrder',
    //获取用户合约订单列表
    getUserContractOrderList: base + 'mobile/Order/getUserContractOrderList',
    //获取当前可购买的挖矿币列表
    getMiningList: base + 'mobile/Order/getMiningList',
    //获取锁仓挖矿数据
    getMiningDes: base + 'index/Api/getMiningDes',
    //获取挖矿头部数据
    getUserMiningInfo: base + 'mobile/Order/getUserMiningInfo',
    //合约订单平仓 
    endContractOrder: base + 'mobile/Order/endContractOrder',
    //撤单
    cancelAutoContractOrder: base + 'mobile/Order/cancelAutoContractOrder',
    //购买挖矿订单
    addMiningOrder: base + 'mobile/Order/addMiningOrder',
    //根据币id获取当前用户該币种所有订单
    getUserBibiOrderById: base + 'mobile/Order/getUserBibiOrderById',
    //撤销用户币币挂单
    cancelAutoBibiOrder: base + 'mobile/Order/cancelAutoBibiOrder',
    //获取币币挂单订单列表
    getUserBibiOrderList: base + 'mobile/Order/getUserBibiOrderList',
    //最小起买
    getMinbuy: base + 'index/Api/getMinbuy',
    
	// 充值提现明细接口
	getRecord: base + 'index/Api/getUserCoinLog',
    // 根据id获取产品详情
	getMiningInfo: base + 'mobile/Order/getMiningInfo',

	// 获取用户挖矿订单
	getUserMiningOrderList : base + 'mobile/Order/getUserMiningOrderList',
	// 提前赎回订单
	cancelMiningOrder : base + 'mobile/Order/cancelMiningOrder',
    // 极速订单下单后获取的信息
	getUserSpeedOrderInfo : base + 'mobile/Order/getUserSpeedOrderInfo',
	
	// 新币项目列表
	getNewCoinList: base + "mobile/Order/getNewCoinList",
	// 获取USDT汇率
	getUsdtPrice:base+'index/Api/getUsdtPrice',
	// 购买新币
	addNewCoinOrder:base+'mobile/Order/addNewCoinOrder',
	// 获取新币订单列表
	getUserNewCoinOrderList:base+'mobile/Order/getUserNewCoinOrderList',
	// 签到接口
	signIn : base+"/index/User/signIn"
	
}